package cn.bdqn.services.dept.mapper;


import java.util.List;

import cn.bdqn.model.pojo.Dangerinfo;
import cn.bdqn.model.pojo.DangerinfoExample;
import org.apache.ibatis.annotations.Param;

public interface DangerinfoMapper {
    long countByExample(DangerinfoExample example);

    int deleteByExample(DangerinfoExample example);

    int deleteByPrimaryKey(Integer dangerProspectNumber);

    int insert(Dangerinfo record);

    int insertSelective(Dangerinfo record);

    List<Dangerinfo> selectByExample(DangerinfoExample example);

    Dangerinfo selectByPrimaryKey(Integer dangerProspectNumber);

    int updateByExampleSelective(@Param("record") Dangerinfo record, @Param("example") DangerinfoExample example);

    int updateByExample(@Param("record") Dangerinfo record, @Param("example") DangerinfoExample example);

    int updateByPrimaryKeySelective(Dangerinfo record);

    int updateByPrimaryKey(Dangerinfo record);
}